package com.examination.entity;

import java.io.Serializable;

/**
 * (Riskshow)实体类
 *
 * @author makejava
 * @since 2021-08-16 14:11:41
 */
public class Riskshow implements Serializable {
  /** 序号 */
  private Integer id;
  /** 用户id */
  private Integer user_id;
  /** 员工id(外键查询名字) */
  private Integer staffId;
  /** 风险类型 */
  private Integer riskId;
  /** 站点 */
  private Integer stationId;
  /** 项目 */
  private Integer projectId;
  /** 具体描述 */
  private String description;
  /** 分配的积分 */
  private Double price;
  /** 风险图片(地址) */
  private String url;
  /** 整改后的图片（地址） */
  private String urlRectify;
  /** 上传时间 */
  private String uptime;
  /** 备注(整改信息) */
  private String remark;
  /** 状态 */
  private String active;
  /** 审核状态（是否有效） */
  private String state;

  private String staffName, riskCategory, stationName, projectName;

  public Riskshow() {
    super();
  }

  public Riskshow(
      Integer id,
      Integer user_id,
      Integer staffId,
      Integer riskId,
      Integer stationId,
      Integer projectId,
      String description,
      Double price,
      String url,
      String urlRectify,
      String uptime,
      String remark,
      String active,
      String state,
      String staffName,
      String riskCategory,
      String stationName,
      String projectName) {
    this.id = id;
    this.user_id = user_id;
    this.staffId = staffId;
    this.riskId = riskId;
    this.stationId = stationId;
    this.projectId = projectId;
    this.description = description;
    this.price = price;
    this.url = url;
    this.urlRectify = urlRectify;
    this.uptime = uptime;
    this.remark = remark;
    this.active = active;
    this.state = state;
    this.staffName = staffName;
    this.riskCategory = riskCategory;
    this.stationName = stationName;
    this.projectName = projectName;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getUser_id() {
    return user_id;
  }

  public void setUser_id(Integer user_id) {
    this.user_id = user_id;
  }

  public Integer getStaffId() {
    return staffId;
  }

  public void setStaffId(Integer staffId) {
    this.staffId = staffId;
  }

  public Integer getRiskId() {
    return riskId;
  }

  public void setRiskId(Integer riskId) {
    this.riskId = riskId;
  }

  public Integer getStationId() {
    return stationId;
  }

  public void setStationId(Integer stationId) {
    this.stationId = stationId;
  }

  public Integer getProjectId() {
    return projectId;
  }

  public void setProjectId(Integer projectId) {
    this.projectId = projectId;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getUrlRectify() {
    return urlRectify;
  }

  public void setUrlRectify(String urlRectify) {
    this.urlRectify = urlRectify;
  }

  public String getUptime() {
    return uptime;
  }

  public void setUptime(String uptime) {
    this.uptime = uptime;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public String getActive() {
    return active;
  }

  public void setActive(String active) {
    this.active = active;
  }

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public String getStaffName() {
    return staffName;
  }

  public void setStaffName(String staffName) {
    this.staffName = staffName;
  }

  public String getRiskCategory() {
    return riskCategory;
  }

  public void setRiskCategory(String riskCategory) {
    this.riskCategory = riskCategory;
  }

  public String getStationName() {
    return stationName;
  }

  public void setStationName(String stationName) {
    this.stationName = stationName;
  }

  public String getProjectName() {
    return projectName;
  }

  public void setProjectName(String projectName) {
    this.projectName = projectName;
  }

  @Override
  public String toString() {
    return "{"
        + "id="
        + id
        + ", user_id="
        + user_id
        + ", staffId="
        + staffId
        + ", riskId="
        + riskId
        + ", stationId="
        + stationId
        + ", projectId="
        + projectId
        + ", description='"
        + description
        + '\''
        + ", price="
        + price
        + ", url='"
        + url
        + '\''
        + ", urlRectify='"
        + urlRectify
        + '\''
        + ", uptime='"
        + uptime
        + '\''
        + ", remark='"
        + remark
        + '\''
        + ", active='"
        + active
        + '\''
        + ", state='"
        + state
        + '\''
        + ", staffName='"
        + staffName
        + '\''
        + ", riskCategory='"
        + riskCategory
        + '\''
        + ", stationName='"
        + stationName
        + '\''
        + ", projectName='"
        + projectName
        + '\''
        + '}';
  }
}
